<div class="newsletters view">
<h2><?php  __('Newsletter');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $newsletter['Newsletter']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Subject'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $newsletter['Newsletter']['subject']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Content'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php
				if($newsletter['Newsletter']['body_html'])
				{ 
					?>
						<b><a href='<?php echo $html->url("/admin/newsletters/view_body/".$newsletter['Newsletter']['id']."/html");?>' target="_blank"><?php echo __("Click here to view HTML format")?></a><br />
					
				<?php  }
				if($newsletter['Newsletter']['body_text']) {
				 ?> <br />
					<b><a href='<?php echo $html->url("/admin/newsletters/view_body/".$newsletter['Newsletter']['id']."/text");?>' target="_blank"><?php echo __("Click here to view text format")?></a><br />
				
				<?php  }

			?>
			&nbsp;
		</dd>		
	</dl>
</div>

